<h4>Add New Category</h4>
<hr />
<?php if(validation_errors()) {?>
<div class="alert alert-error"><?= validation_errors(); ?></div>
<?php }?>
<?php echo form_open('product/category/add_category'); ?>
<table width="60%"  align="center">
  <tr>
    <td>Category</td>
    <td><input type="text" name="name" value="<?= set_value('name')?>"  /></td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td><input type="submit" value="Add Category" class="btn btn-success" /></td>
  </tr>
</table>
</form>
</div>